import React, { useEffect, useState } from "react";
import { ConfigProvider, Layout, Menu } from "antd";
import ZHCN from "antd/lib/locale/zh_CN";
import {
  BrowserRouter as Router,
} from "react-router-dom";
import Routes from "./routes";
const App = () => {
  return (
    <ConfigProvider locale={ZHCN}>
      <Router>
        <Routes />
      </Router>
    </ConfigProvider>
  );
};

export default App;
